package com.merchant.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: Redpacke
 * @Description: TODO:红包实体类
 * @author kxk
 * @date 2021-05-07 15:26:29
 */
public class Redpacket implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 *	红包序号
	 */
	private int rid;
	
	/**
	 *	红包金额 
	 */
	private int rmoney;
	
	/**
	 *	开始时间 
	 */
	private Date startdate;
	
	/**
	 *	结束时间 
	 */
	private Date endingdate;
	
	/**
	 *	用户序号
	 */
	private int uid;
	
	/**
	 *	红包类型
	 */
	private String rtype;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	private  User user;

	public Redpacket() {
		super();
	}

	public Redpacket( int rmoney, Date startdate, Date endingdate, int uid, String rtype) {
		super();
		this.rmoney = rmoney;
		this.startdate = startdate;
		this.endingdate = endingdate;
		this.uid = uid;
		this.rtype = rtype;
	}

	public int getRid() {
		return rid;
	}

	public void setRid(int rid) {
		this.rid = rid;
	}

	public int getRmoney() {
		return rmoney;
	}

	public void setRmoney(int rmoney) {
		this.rmoney = rmoney;
	}

	public Date getStartdate() {
		return startdate;
	}

	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}

	public Date getEndingdate() {
		return endingdate;
	}

	public void setEndingdate(Date endingdate) {
		this.endingdate = endingdate;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getRtype() {
		return rtype;
	}

	public void setRtype(String rtype) {
		this.rtype = rtype;
	}
	
	
}
